package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public boolean login(String username, String password) {
        return userDao.selectUser(username,password)!=null;
    }
}
